#!/usr/bin/env python
# coding=utf-8

import os,sys
import shutil


projs = ('je609', 'nx005', 'nx007', 'jg500')
update_cmd = r'batch\DEV_AutoUpdate.bat'

getsln = lambda s:s+'.sln'
getfolder = lambda s:s
getbat = lambda s:s+'.bat'

targets = ('Rebuild', 'Build')
cfgs = ('Debug', 'Release')
platforms = (r'09Light Platform (ARMV4I)', 
				r'Windows Mobile 5.0 Pocket PC SDK (ARMV4I)', 
				r'WS_NX005 (ARMV4I)')

for n in range(4):
	os.system(bats[n])
	os.chdir(projfolders[n])
	os.system('batch\\DEV_AutoUpdate.bat')
	os.system('batch\\DEV_AutoUpdate.bat')
	os.chdir('..')


